package com.cwl.pattern.迭代器模式;

/**
 * @program: pattern
 * @description:
 * @author: ChenWenLong
 * @create: 2019-07-10 11:19
 **/
public interface Iterator {

    //获得第一个
    Object first();
    //获得下一个
    Object next();
    //判断是否由下一个
    boolean hasNext();
}
